package com.stronger.pettern.decorator.decorator3;

public class test {
    public static void main(String[] args) {
        Qdecorator q=new Qdecorator(new BlindMonk("李青"),"Q");
        Wdecorator w=new Wdecorator(q,"W");
        Edecorator e=new Edecorator(w,"E");
        Rdecorator r=new Rdecorator(e,"R");
        r.learnSkill();
    }
}
